import request from '@/utils/request'
// 获取请假树状图
export const getLeaveStatisticsProvider = (statisticType) => {
  return request({
    url: '/wsd_summarization/LeaveStatisticsProvider',
    method: 'get',
    params: statisticType
  })
}
// 获取今天的请假情况
export const getLeave = () => {
  return request({
    url: '/wsd_summarization/todayLeaveStatistics',
    method: 'get',
  })
}
//全班,全校人数统计
export const getStudetNumber = () => {
  return request({
    url: '/wsd_summarization/populationStatistics',
    method: 'get',
  })
}
//待办事项
export const getAgencyMatters = () => {
  return request({
    url: '/wsd_summarization/agencyMatters',
    method: 'get',
  })
}